-
Notifications
You must be signed in to change notification settings - Fork 76
NameValueProperty
#1545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
NameValueProperty
#1545
Conversation
| // region Deprecated | ||
|
|
||
| /** A [DataSchema] interface / class can implement this if it represents a map-like data schema (so key: value). */ | ||
| @Deprecated(KEY_VALUE_PROPERTY, ReplaceWith("NameValueProperty<T>")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, is it working as expected? Never tried replace with + generics
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes should not cause any issues with the IDEA plugin. I checked locally how rendering of |
…aluePair inherit NameValueProperty, bringing them closer together
f0523fc to
4369b97
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
4369b97 to
0ba2326
Compare


Fixes #659 2nd attempt. (see first attempt here)
After discussing with @koperagen, this time I did it the other way around; keeping the names 'name' and 'value' instead of 'key' and 'value'.
Deprecated
KeyValuePropertyin favor ofNameValueProperty. MadeNameValuePairinheritNameValueProperty, bringing them closer together.@Allex-Nik same question as for the first attempt :)